package com.example.rightmost.dao;

import com.example.rightmost.entity.PieceLike;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface PieceLikeMapper {

    Integer like(Integer creationId, Integer userId);

    int doLike(PieceLike pieceLike);

    int noLike(PieceLike pieceLike);

}
